<include file="../Public/Graden_top" />
<script src="__THEME__/js/Highcharts/highcharts.js"></script>
<script src="__THEME__/js/Highcharts/highcharts-more.js"></script>
<script src="__THEME__/js/Highcharts/modules/exporting.js"></script>
<script src="__THEME__/js/jqprint.js"></script>
<script language="javascript">
function print(){
    $("#wrap").jqprint();
}
</script>
<div class="content">  
  <div style="float:right:width:10px;margin-right:200px;text-align: right;font-size:16px;">
    <input type="button" onclick="print();" value="打印"/>
    <a href="{:U('public/Report/Graden')}">返回</a>
  </div>
  <div class="wrap" id="wrap">
      <style>
    .title{
      width:100%;
      height:100px;
      color:#e80115;
      font-size:28px;
      line-height:100px;
      text-align:center;
      font-family:"新宋体";
      font-weight:bold;
    }
    .banner{
      width:98.8%;
      height:36px;
      background-color:#67bd98;
      line-height:36px;
      padding-left:15px;
      color:#fff;
      font-size:18px;
    }
    .r_l_b_text{
      width:160px;
      height:32px;
      color:#000;
      text-align:center;
      line-height:32px;
      font-size:16px;
      margin-bottom:10px;
      margin-right:5px;
      float: left;
      background-color:#e5e3f8;
    }
    .r_l_b_text1{
      width:500px;
      height:32px;
      color:#000;
      text-align:center;
      line-height:32px;
      font-size:16px;
      margin-bottom:10px;
      float: left;
      background-color:#e5e3f8;
    }
    </style>
    <div class="con_wrap">
      <!--整体评分情况开始-->
      <div class="box" id="box1" style="display:block;">
        <div class="title">{$rpt_name}</div>
        <div class="banner">无法评级列表</div>
          <div class="con_box" style="padding-left:10px;">
          <ul style="width:100%;margin:0px;">
            <li class="r_l_b_text" style="background-color:#d2cde5;color:#b991c4;">姓名</li>
            <li class="r_l_b_text" style="background-color:#d2cde5;color:#b991c4;">性别</li>
            <li class="r_l_b_text" style="background-color:#d2cde5;color:#b991c4;">国民体质评分</li>
            <li class="r_l_b_text" style="background-color:#d2cde5;color:#b991c4;">国标等级</li>
            <li class="r_l_b_text1" style="background-color:#d2cde5;color:#b991c4;">无法评级项</li>
          </ul>
          <ul style="width:100%;" id="userList"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
var rpt_id="<?php echo $rpt_id;?>";
  $(document).ready(function(){
    $.ajax({
      type: "GET",
      url:"{:U('public/Report/getGradenStuList')}",
      data:"is_unable_ratings=1&rpt_id="+rpt_id,
      dataType:"json",
      success:function(data){
        $.each(data,function(i,item){
          $("#userList").append("<li class='r_l_b_text'> <a href='"+item.url+"'>"+item.name+"</a></li><li class='r_l_b_text'>"+item.gender+"</li><li class='r_l_b_text'>"+item.score+"</li><li class='r_l_b_text'>"+item.result+"</li><li class='r_l_b_text1'>"+item.rating+"</li>");
        }); 
      }
    });
  }); 
</script>
<include file="../Public/_foot" />